package com.hzlj.position.locate.service;

import com.hzlj.position.locate.common.dto.reportSync.ReportSyncUpsertDTO;

import java.util.Collection;
import java.util.Date;
import java.util.Map;

/**
 * 通信联络核查-同步配置表(ReportSync)表服务接口
 *
 * @author lifh
 * @date 2023-03-13 19:10:15
 */
public interface ReportSyncService {


    void upsert(String jgCode, String syncType, Date syncDay);

    /**
     * 修改数据
     */
    void upsert(Collection<ReportSyncUpsertDTO> dtos);


    boolean synced(String jgCode, String syncType, Date syncDay);

    Map<String, Date> mapReportSync(String syncType);

    Date getLatestDay(String jgCode, String syncType);
}
